Make undigest work with multipart/mixed messages
authorMauro Aranda <maurooaranda@gmail.com>
Wed, 23 Mar 2022 19:42:55 +0000 (20:42 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Wed, 23 Mar 2022 19:44:32 +0000 (20:44 +0100)
commit4ec23d922dc90ab697eb6f0ba119b1563abba111
tree2a144095c398a74044f25e55b1057cc005f93a50
parentef0a0d30c5daf4c2d65d5e07212dcbb8489466ee
Make undigest work with multipart/mixed messages

* test/lisp/mail/undigest.el: New test file (bug#12873).
* lisp/mail/undigest.el (rmail-digest-methods): Install
rmail-digest-parse-mixed-mime.
(rmail-content-type-boundary): New function, to get a specific
Content-type boundary.
(rmail-digest-parse-mixed-mime): New function, to search for a
multipart/digest message inside a multipart/mixed message.
lisp/mail/undigest.el
test/lisp/mail/undigest-tests.el [new file with mode: 0644]